<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
        <title>文件上传</title>
    </head>
    <body>

        <!-- action 用于确定将表单提交给谁 -->
        <!-- method 用于确定提交方式(HTTP请求方式(也称作HTTP动作))-->
        <!-- enctype 用于确定表单中内容的编码方式 -->
        <form action="/image/upload" 
              method="post" 
              enctype="multipart/form-data">
            <input type="file" name="upfile">
            <button type="submit">上传</button>
        </form>
        
    </body>
</html>